from zwz.tokit.api.all_api import AllApi

class Get_token():
    def __init__(self):
        self.all_api = AllApi()

    def getToken(self):
        return self.all_api.send_request("login")['result']['token']

if __name__ == '__main__':
    # all_api.send_request("login")['result']['token']
    # print(Get_token().getToken())
    a = Get_token()
    print(a.getToken())
